home *** CD-ROM | disk | FTP | other *** search
/ Champak 54 / Vol 54.iso / games / gardenin.swf / scripts / frame_81 / DoAction.as
Encoding:
Text File  |  2007-09-27  |  261 b   |  20 lines

  1. this.stop();
  2. stopAllSounds();
  3. if(success_seed == 10)
  4. {
  5.    var i = 1;
  6.    while(i <= 6)
  7.    {
  8.       if(this["good_seed" + i])
  9.       {
  10.          good_seed++;
  11.       }
  12.       i++;
  13.    }
  14.    this.nextFrame();
  15. }
  16. else
  17. {
  18.    this.gotoAndStop("gameover");
  19. }
  20.